package com.mohan.dlxj.mapper;

import com.mohan.dlxj.pojo.RoleList;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {
  Integer selectRoleAll();

  List<RoleList> selectRolePage(long current, long limit);

  void saveRole(RoleList roleList);

  void deleteRole(Integer id);

  void updateRole(RoleList roleList);

  RoleList getRoleById(Integer id);
}
